home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
adlibn
/
dbtestdo.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-12-23
|
2KB
|
85 lines
// DBTestDoc.cpp : implementation of the CDBTestDoc class
//
#include "stdafx.h"
#include "DBTest.h"
#include "DBTestDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDBTestDoc
IMPLEMENT_DYNCREATE(CDBTestDoc, CDocument)
BEGIN_MESSAGE_MAP(CDBTestDoc, CDocument)
//{{AFX_MSG_MAP(CDBTestDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDBTestDoc construction/destruction
CDBTestDoc::CDBTestDoc()
{
// TODO: add one-time construction code here
}
CDBTestDoc::~CDBTestDoc()
{
}
BOOL CDBTestDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CDBTestDoc serialization
void CDBTestDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CDBTestDoc diagnostics
#ifdef _DEBUG
void CDBTestDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CDBTestDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CDBTestDoc commands